package com.openlogic.datasource.api.vo;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
* @ClassName: SqlConsoleVo
* @Description: SQL控制台返回Vo实体
* @author weiyongpeng
* @date 2024年11月24日 上午10:04:26
 */
public class SqlConsoleVo implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * sql语句
     */
    private String sql;
    
    /**
     * 执行时间
     */
    private Long time;
    
    /**
     * 执行成功标识
     */
    private Boolean success;
    
    /**
     * 数据条数
     */
    private Integer count;
    
    /**
     * 列的集合
     */
    private List<String> columnList;
    
    /**
     * 数据列元数据集
     */
    private List<Map<String, String>> columnMeta;
    
    /**
     * 数据集
     */
    private List<Map<String, Object>> dataList;
    
	public String getSql() {
		return sql;
	}
	public void setSql(String sql) {
		this.sql = sql;
	}
	public Long getTime() {
		return time;
	}
	public void setTime(Long time) {
		this.time = time;
	}
	public Boolean getSuccess() {
		return success;
	}
	public void setSuccess(Boolean success) {
		this.success = success;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	public List<String> getColumnList() {
		return columnList;
	}
	public void setColumnList(List<String> columnList) {
		this.columnList = columnList;
	}
	public List<Map<String, Object>> getDataList() {
		return dataList;
	}
	public void setDataList(List<Map<String, Object>> dataList) {
		this.dataList = dataList;
	}
	public List<Map<String, String>> getColumnMeta() {
		return columnMeta;
	}
	public void setColumnMeta(List<Map<String, String>> columnMeta) {
		this.columnMeta = columnMeta;
	}
	
}
